<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="java.util.*,zzz.jdbc.*,zzz.vo.*,zzz.util.*,java.text.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询结果</title>
</head>
<body>

<%
List<Score> scolist=new JDBCTools().searchStuScore(request.getParameter("searchkey"));
request.setAttribute("scolist", scolist);
%>

	<table border="1">
		<tr>
			<th>学生学号</th>
			<th>学生姓名</th>
			<th>课程编号</th>
			<th>课程名</th>
			<th>成绩</th>
			
		</tr>
		<c:forEach var="sco" items="${scolist}" varStatus="status">
			<tr>
				<td>${sco.getStuNO()}</td>
				<td>${sco.getStuName()}</td>
				<td>${sco.getCourseNo()}</td>
				<td>${sco.getCourseName()}</td>
				<td>${sco.getScore()}</td>
			
			</tr>
		</c:forEach>

	</table>
	<a href="mainManage.jsp">返回主界面</a>
</body>
</html>